import { ITableInit } from "@/components/base-ui/table";

export const tableInit: ITableInit = {
  propList: [
    { prop: "name", label: "办事处名称", minWidth: "100", slot: 'name' },
    { prop: "phone", label: "电话", minWidth: "100", slot: "phone" },
    { prop: "fax", label: "传真", minWidth: "100", },
    { prop: "email", label: "邮箱", minWidth: "100", },
    { prop: "pubimage", label: "公众号二维码", minWidth: "100", slot: "pubimage" },
    // { prop: "kfimage", label: "客服二维码", minWidth: "100", slot: "kfimage" },
    // { prop: "ditu", label: "地图", minWidth: "100", slot: "ditu" },
    { prop: "address", label: "地址", minWidth: "100", },
    { prop: "operation", label: "操作", minWidth: "100", slot: "operation" }
  ],
  // children: {
  //   rowKey: "id",
  //   treeProp: {
  //     children: "children",
  //     hasChildren: true
  //   }
  // }
  // showIndex: false,
  // selection: false,
  // cardStyle: {
  //   marginTop: '20px'
  // },

  pagination: false,
  paginationConfig: {
    currentPage: 0,
    pageSize: 10
  },
  total: 0,
  btn: ["add"]
};
